package com.lxj.mapper;

import com.lxj.domain.Group;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
public interface GroupMapper {
    List<Group> selectAll(Group group);

    int getNumber();

    int delete(Integer[] id);

    int add(Group group);

    Group findById(Integer id);

    int edit(Group group);

    Group getConfirm(Group group);

    void clearUserGroup(Integer[] id);

    void clearMember(Integer[] id);

    void editUserGroup(Group group);

    void editMemberGroup(Group group);
}
